/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const Iconanmenchuang: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'rem'} height={size + 'rem'} style={style} {...rest}>
      <path
        d="M622.860321 453.462246h-238.203209v-323.080214c0-65.71123 54.759358-120.470588 120.470589-120.470588 65.71123 0 120.470588 54.759358 120.470588 120.470588v323.080214z m-194.395722-46.545455h150.588235v-276.534759c0-41.069519-32.855615-73.925134-73.925133-73.925134-41.069519 0-73.925134 32.855615-73.925134 73.925134v276.534759z"
        fill={getIconColor(color, 0, '#00B2B1')}
      />
      <path
        d="M502.389733 171.451551c-24.641711 0-43.807487-19.165775-43.807487-43.807487s19.165775-43.807487 43.807487-43.807486c24.641711 0 43.807487 19.165775 43.807486 43.807486s-19.165775 43.807487-43.807486 43.807487z m0-57.497326c-8.213904 0-16.427807 5.475936-16.427808 13.689839s5.475936 13.68984 16.427808 13.68984c8.213904 0 16.427807-5.475936 16.427807-13.68984s-5.475936-13.68984-16.427807-13.689839zM950.074866 657.112299H54.759358v-147.850267c0-49.283422 38.331551-87.614973 87.614974-87.614973h717.347593c49.283422 0 87.614973 38.331551 87.614973 87.614973V657.112299z m-848.770053-43.807486H909.005348v-104.042781c0-24.641711-19.165775-43.807487-43.807487-43.807487H147.850267c-24.641711 0-43.807487 19.165775-43.807486 43.807487v104.042781zM895.315508 1015.786096H298.438503V903.529412l-52.021391 112.256684H93.090909V657.112299h43.807487v312.128343h82.139037l82.139038-175.229947 41.069518 10.951872v164.278075h509.262032V657.112299h43.807487z"
        fill={getIconColor(color, 1, '#00B2B1')}
      />
      <path
        d="M607.199144 850.221176h27.37968v117.732621h-27.37968z"
        fill={getIconColor(color, 2, '#D8D8D8')}
      />
      <path
        d="M593.509305 833.793369h57.497326v147.850267h-57.497326z"
        fill={getIconColor(color, 3, '#00B2B1')}
      />
      <path
        d="M697.552086 762.606203h27.379679v205.347594h-27.379679z"
        fill={getIconColor(color, 4, '#D8D8D8')}
      />
      <path
        d="M683.862246 746.178396h57.497326v235.46524h-57.497326z"
        fill={getIconColor(color, 5, '#00B2B1')}
      />
      <path
        d="M787.905027 732.488556h27.379679v235.465241h-27.379679z"
        fill={getIconColor(color, 6, '#D8D8D8')}
      />
      <path
        d="M771.477219 716.060749h57.497326v265.582887h-57.497326z"
        fill={getIconColor(color, 7, '#00B2B1')}
      />
    </svg>
  );
};

Iconanmenchuang.defaultProps = {
  size: 18,
};

export default Iconanmenchuang;
